<%@ page session="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%>
<%@ taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh"%>

<tr:panelGroupLayout>
<tr:subform>
			<fieldset><legend>Przekazanie</legend>
			<table style="width:100%" cellpadding="3" cellspacing="0">
				<tr>
					<td>
					<tr:selectOneChoice value="#{PassingParameter.salesman}" label="Odpowiedzialna:"
							shortDesc="Wybierz osobę odpowiedzialną za to zamówienie" unselectedLabel="--- brak ---- "
							required="true">
						<f:selectItems value="#{salesmanController.salesmanItems}" />
					</tr:selectOneChoice>
					</td>
				</tr>
				<tr>
					<td>
						<tr:inputText value="#{PassingParameter.comment}" rows="5" label="Komentarz:"
									maximumLength="3024"
									columns="80" required="true" />

					</td>
				</tr>
				<tr>
					<td align="right">
					<tr:commandButton action="#{orderController.passOrder}"
									text="Zapisz i zamknij" id="passButton"
									inlineStyle="color:white;background-color:green" />
					</td>
				</tr>
			</table>
			</fieldset>
			</tr:subform>
</tr:panelGroupLayout>